package com.jk.controller;

import com.jk.pojo.StateEntity;
import com.jk.service.StateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName StateController
 * @Descripttion TODO
 * @Author DELL
 * @Date 2022/10/16 20:37
 * @Version 0.001
 */
@RestController
@RequestMapping("state")
public class StateController {
    @Autowired
    private StateService stateService;

    /**
    * @Author: binzi
    * @Description:状态
    * @Date: 2022/10/16 20:39
    * @Return: java.util.List<com.jk.pojo.StateEntity>
    **/
    @RequestMapping("findState")
    public List<StateEntity> findState(){
        return stateService.findState();
    }
}
